Update VM's VCPU handling to match the documentation wrt VCPUs_max and
authorEwan Mellor <ewan@xensource.com>
Thu, 22 Mar 2007 14:31:03 +0000 (14:31 +0000)
committerEwan Mellor <ewan@xensource.com>
Thu, 22 Mar 2007 14:31:03 +0000 (14:31 +0000)
commit93fdf19076af6bfde483eb1ba7ae56d19d780bdb
treed04774e2c75abb8f37938627a02b4cc54a7d80e8
parent830355957c45d8053be2cf4058eb7a53732c4510
Update VM's VCPU handling to match the documentation wrt VCPUs_max and
VCPUs_at_startup.  Add VM.set_VCPUs_number_live, VM.add_to_VCPUs_params_live,
VM_metrics.VCPUs_{CPU,flags,params}.

Use these new calls to implement xm vcpu-list and xm sched-credit through
the Xen-API.  Mark a number of other calls as unimplemented through that API.

Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/XendAPI.py
tools/python/xen/xend/XendConfig.py
tools/python/xen/xend/XendDomain.py
tools/python/xen/xend/XendDomainInfo.py
tools/python/xen/xend/XendVMMetrics.py
tools/python/xen/xm/main.py
tools/python/xen/xm/xenapi_create.py